package com.hyhy.hycloud.commons.util;

/**
 * @author lanpengfei
 * @date 2018/9/25
 */
public class SpringBootVersionUtil {

    public static boolean isV2() {
        try {
            Class.forName("org.springframework.boot.bind.RelaxedPropertyResolver");
            return false;
        } catch (ClassNotFoundException e) {
            return true;
        }
    }
}
